<?php
require_once("include/setup.php");
require_once(CLASS_PATH.'document.class.php');
LoginHelper::controlAccess(array('type_droits_user' => '>=1'));

$documents = Document::getDocuments(array(
	'id_user' => LoginHelper::getIdUserConnected()
));

$v = new JapwordView();
$v->assign('documents', $documents);

$v->display('document_mylist.html');
?>